doctype
html
    head
        meta(charset="utf-8")
        link(rel="stylesheet",href="/css/main.css")
        script(src="main.js")
        script.
            window.onload = function() {
                let oDiv = document.getElementById('div1');
                oDiv.onclick = function() {
                    alert('a');
                };
            };
    body
        div(class="page main")
            ul.list
                each a in arr
                    li = a

            p 用户的名字：
                = name
            p 用户的年龄：
                = a+b